﻿using System;
using System.Collections.Generic;
using Lottery.App.Model;

namespace Lottery.App.DAL
{
    public class N5Dao : ResultDao<N5Info>
    {
        public override IList<int> GetIds(string value)
        {
            const string hql = "select r.id from RecordInfo r where ASC_Result = ?";

            return Session.CreateQuery(hql)
                .SetString(0, value)
                .List<int>();
        }
    }
}
